package net.maku.project.convert;

import net.maku.project.entity.ProcessStepsEntity;
import net.maku.project.vo.ProcessStepsVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 流程环节表
*
* @author aili 1106997025@qq.com
* @since 1.0.0 2024-07-09
*/
@Mapper
public interface ProcessStepsConvert {
    ProcessStepsConvert INSTANCE = Mappers.getMapper(ProcessStepsConvert.class);

    ProcessStepsEntity convert(ProcessStepsVO vo);

    ProcessStepsVO convert(ProcessStepsEntity entity);

    List<ProcessStepsVO> convertList(List<ProcessStepsEntity> list);

}